
/**
 * 
 * @returns Boolean
 */
export const isDev = () => {
    let ip = window.location.href.split('://')[1].split(':')[0]
    if (ip == 'localhost' || ip == '127.0.0.1' || ip.substr(0, 3) == "10." || ip.substr(0, 4) == "172." || ip.substr(0, 4) == "192.") {
        return true;
    } else {
        return false;
    }
}
